package lab02.test35;

public class Worker extends Employee {
    int days;
    int daysalary;

    public Worker(String name) {
        super(name);
        sdept = "一般工人";
    }

    @Override
    double computeSalary() {
        return days * daysalary;
    }
}
